Optimal. Leaf size=55 \[ \frac {\left (a+b \cosh ^{-1}(c x)\right )^2}{2 b}+\left (a+b \cosh ^{-1}(c x)\right ) \log \left (1+e^{-2 \cosh ^{-1}(c x)}\right )-\frac {1}{2} b \text {PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c x)}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {5882, 3799,
2221, 2317, 2438} \begin {gather*} \frac {\left (a+b \cosh ^{-1}(c x)\right )^2}{2 b}+\log \left (e^{-2 \cosh ^{-1}(c x)}+1\right ) \left (a+b \cosh ^{-1}(c x)\right )-\frac {1}{2} b \text {Li}_2\left (-e^{-2 \cosh ^{-1}(c x)}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2221
Rule 2317
Rule 2438
Rule 3799
Rule 5882
Rubi steps
\begin {align*} \int \frac {a+b \cosh ^{-1}(c x)}{x} \, dx &=\text {Subst}\left (\int (a+b x) \tanh (x) \, dx,x,\cosh ^{-1}(c x)\right )\\ &=-\frac {\left (a+b \cosh ^{-1}(c x)\right )^2}{2 b}+2 \text {Subst}\left (\int \frac {e^{2 x} (a+b x)}{1+e^{2 x}} \, dx,x,\cosh ^{-1}(c x)\right )\\ &=-\frac {\left (a+b \cosh ^{-1}(c x)\right )^2}{2 b}+\left (a+b \cosh ^{-1}(c x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c x)}\right )-b \text {Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\cosh ^{-1}(c x)\right )\\ &=-\frac {\left (a+b \cosh ^{-1}(c x)\right )^2}{2 b}+\left (a+b \cosh ^{-1}(c x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c x)}\right )-\frac {1}{2} b \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 \cosh ^{-1}(c x)}\right )\\ &=-\frac {\left (a+b \cosh ^{-1}(c x)\right )^2}{2 b}+\left (a+b \cosh ^{-1}(c x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c x)}\right )+\frac {1}{2} b \text {Li}_2\left (-e^{2 \cosh ^{-1}(c x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 48, normalized size = 0.87 \begin {gather*} a \log (x)+\frac {1}{2} b \left (\cosh ^{-1}(c x) \left (\cosh ^{-1}(c x)+2 \log \left (1+e^{-2 \cosh ^{-1}(c x)}\right )\right )-\text {PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c x)}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.53, size = 75, normalized size = 1.36
method | result | size |
derivativedivides | \(a \ln \left (c x \right )-\frac {b \mathrm {arccosh}\left (c x \right )^{2}}{2}+b \,\mathrm {arccosh}\left (c x \right ) \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )+\frac {b \polylog \left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )}{2}\) | \(75\) |
default | \(a \ln \left (c x \right )-\frac {b \mathrm {arccosh}\left (c x \right )^{2}}{2}+b \,\mathrm {arccosh}\left (c x \right ) \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )+\frac {b \polylog \left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )}{2}\) | \(75\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {acosh}{\left (c x \right )}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {a+b\,\mathrm {acosh}\left (c\,x\right )}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________